package com.kunlun.basedata.user.model.vo;

import com.kunlun.basedata.limit.model.vo.CorrelateVo;
import com.kunlun.basedata.user.model.RoleModel;

/**
 * 角色模型
 */
public class RoleVo extends RoleModel {

    private String targetId;

    public RoleVo() {}

    public RoleVo(CorrelateVo correlateVo) {
        this.setId(correlateVo.getTargetId());
        this.setName(correlateVo.getTargetName());
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }
}
